package com.example.demo.demos.controller;

import com.example.demo.demos.annotation.TESTANO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: lixz
 * @Date: 2024/11/13/16:25
 */
@RestController
@RequestMapping("/test")
public class TESTController {


    @GetMapping("/test1")
    @TESTANO(value = "第二次测试")
    public String test1() {
        return "成功!";
    }

}
